<?
	include("koneksi.php");
	$nrp=$_GET['nrp'];
	$queri=mysql_query("select * from registrasi where nrp='$nrp'");
	
	while($row=mysql_fetch_row($queri))
	{
		$queri2=mysql_query("select * from mk where kodemk='$row[1]'");
		$array=mysql_fetch_array($queri2);
		echo "$row[1].
			  Nama MK : $array[1] 
			  SKS : $row[12] 
			  Hari : $row[8] 
			  Mulai : $row[9] 
			  Selesai : $row[10] |";
			  
			
	}
	
?>